@media screen and (min-width: 831px) {
    html{
        font-size: 16px;
    }
    .iconfont {
        font-size: 20px;
      }
    body {
        position: relative;
        overflow-x: hidden;
        overflow-y: auto;
        height: 100vh;
        background: #98fb98;
        padding-left: 188px;
    }
    

    body.shouqi {
        padding-left: 10px;
    }
    /* 侧边栏 */
    .main-side {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 16;
        width: 188px;
        min-height: 100%;
        color: #0077be;
        background: #fce47c;
        box-shadow: 2px 0 5px rgb(252, 228, 124, 0.2);
        transform: translateX(0);
        transition: transform 0.4s cubic-bezier(0.38, 0.01, 0.09, 0.98);
    }

    /* logo部分 */
    .main-side .logo {
        height: 100px;
        padding: 0 1.25rem;
        margin-top: 5px;
        margin-bottom: -5px;
    }
    .main-side .logo img {
        width: 100%;
        height: 100%;
    }
    .logo-text {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /* 点击按钮给侧边栏平移 */
    .pingyi {
        transform: translateX(-100%);
    }
    /* 隐藏按钮,设置按钮为透明，超出隐藏，有形的svg图片在移动 */
    .side-toggle .side-button {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.85);
        transform-origin: left center;
        overflow: hidden;
        top: 22px;
        left: 188px;
        width: 27px;
        height: 24px;
        /* font-size: 16px; */
        cursor: pointer;
        transition: opacity 0.4s ease-in-out,visibility .4s linear;
    }
    .side-toggle .side-button.visible {
        opacity: 1;
        visibility: visible;
    }
    /* 为了收回按钮时不突兀，父元素必须给透明度设置过渡，不能瞬间变透明 */
    .side-toggle .side-button .icon {
        /* 利用边框缩小图片 */
    border: 2px rgb(89, 94, 114) solid ;
        border-radius: 0 6px 6px 0;
        transform: translateX(-100%);
        background-color: #fcd27c;
        width: 100%;
        height: 100%;
        transition: transform 0.4s ease-in-out, background-color 0.2s ease,
            transform 0.2s ease-in-out,border 0.2s ease;
    }
    .side-toggle .side-button .icon.translateX-0 {
        transform: translateX(0);
    }
    .side-toggle .side-button .icon.xuanzhuan {
        transform: rotate(180deg);
    }
    .side-toggle .side-button .icon:hover {
        background-color: #ffbf00;
        border: 2px #ffbf00 solid ;
    }
    /* 回收后保留竖条 */
    .side-strip {
        position: fixed;
        top: 0;
        /* 父元素百分之百，意味着和父元素动态改变 */
        left: 100%;
        bottom: 0;
        min-height: 100vh;
        width: 12px;
        cursor: pointer;
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s linear,visibility .4s linear;
    }
    .side-strip.visible {
        z-index: 1;
        opacity: 0.5;
        visibility: visible;
        /* background-color: #fce47c; */
        background: repeating-linear-gradient(
            45deg,
            #ffbf00,
            #ffbf00 2px,
            #98fb98 0,
            #98fb98 4px
        );
    }
    .side-strip.visible:hover {
        /* background-color: #ffbf00; */
        opacity: 1;
        animation: color-change 0.3s ease-in-out infinite;
    }
    @keyframes color-change {
        0% {
            background: repeating-linear-gradient(
                45deg,
                #ffbf00,
                #ffbf00 2px,
                #98fb98 0,
                #98fb98 4px
            );
        }

        50% {
            background: repeating-linear-gradient(
                45deg,
                #98fb98,
                #98fb98 2px,
                #ffbf00 0,
                #ffbf00 4px
            );
        }
        100% {
            background: repeating-linear-gradient(
                45deg,
                #ffbf00,
                #ffbf00 2px,
                #98fb98 0,
                #98fb98 4px
            );
        }
    }

    /* 侧边栏列表 */
    .main-side .start-text {
        display: block;
        margin:.75rem 1.25rem;
    font-size: .75rem;
    }
    /* 开始按钮，背后不断滑动方块，设置超出隐藏 */
    .main-side .start-button {
        position: relative;
        margin: 0 auto;
        /* 计算表达式两边要加空格 */
        width: calc(100% - 2.75rem);
        text-align: center;
        display: block;
        overflow: hidden;
        padding: 3px;
        border-radius: 6px;
    }
    .main-side .start-button::before {
        z-index: -999;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        height: 100%;
        background: linear-gradient(
            115deg,
            #4fcf70,
            #fad648,
            #a767e5,
            #12bcfe,
            #44ce7b
        );
        background-size: 50% 100%;
        /* animation: slide 1s linear infinite;  */
    }
    .main-side .start-button:hover::before{
        animation: slide 1s linear infinite;
    }
    @keyframes slide {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    .main-side .start-button span {
        z-index: 2;
        height: 100%;
        padding: 0.875rem 0;
        font-size: 20px;
        background: #0077be;
        border-radius: 3px;
        display: block;
        color: #ffbf00;
    }

    html{
        font-size: 16px;
    }
/* 游戏，创意，技术 */
.myhref {
    margin-top: 1rem;
}
.myhref .link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.375rem;
    font-size: 1.125rem;
    font-weight: 500;
    text-align: left;
    line-height: 1;
}
.myhref .link:hover {
    background-color: #98fb98;
}
.myhref .link .icon {
    text-align: center;
    width: 1.3333rem;
    height: 1.3333rem;
}

/* 切换主题按钮 */
.mytheme {
    margin-top: 2rem;
}
.mytheme .mytheme-button {
    display: flex;
    padding: 0.75rem 1.375rem;
    font-weight: 500;
    font-size: 1.125rem;
}
.mytheme .mytheme-button:hover {
    background-color: #98fb98;
}
}
